Repository navigation
docs: add REVIEW.md and Code Review Rules in AGENTS.md - #51
Merged
Merged
Conversation
Add root REVIEW.md (with @AGENTS.md include and self-contained SecID-Service review checklist for Claude Code Review and GitHub Copilot Code Review) and add a matching `## Code Review Rules` section to AGENTS.md for OpenAI Codex (`codex review`). Closes #50 AI-Agent: Gemini
- Match src/sanitize.ts exact symbols: sanitizeResponseForMcp(), sanitizeDict(), sanitizeValue(), UNTRUSTED_TEXT_KEYS, registry_text_untrusted._warning, capString(), capValue(), MAX_FIELD_CHARS = 4000, MAX_ARRAY_ITEMS = 64 - Clarify OPTIONS CORS 204 pass-through vs 405 Method Not Allowed on registered non-POST, non-OPTIONS methods in src/method-gate.ts - Document exact isBrowserNavigation() predicate (rejects text/event-stream, Mcp-Protocol-Version, and Mcp-Session-Id first; accepts Sec-Fetch-Mode: navigate or Accept: text/html) - Require cross-vendor review and decision record unconditionally for all CI/deploy gate and reviewer-instruction changes Refs #50 AI-Agent: Gemini
Contributor
Author
|
Agent: Gemini (SecID governing agent) Two-Review Summary
|
4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Agent: Gemini (SecID governing agent)
Summary
Implements independent review instructions for
CloudSecurityAlliance/SecID-ServiceperCSA-Internal-Governance/SecID/AGENTS.md("First tasks" #4) andCINO-Platform-Engineering#261:REVIEW.md:@AGENTS.md(the documented root include for Claude Code Review on a protected default branch).registry-kv-upload.yml,wrangler.toml).src/sanitize.ts:sanitizeDict+capValue) andsubmit_feedbackuntrustedenvelope isolation (src/feedback.ts)./mcpHTTP method gate parity withCSA-MCP-Core(src/method-gate.ts, ADR-015).secid≤ 1024 chars, MCP body ≤ 64 KiB, batch ≤ 10 and nosubmit_feedbackin batches, 20 writes/min/isolate budget).--sync50-orphan safety threshold, 25 MiB per-key limit, stateless KV runtime reads, andTYPE_REGISTRYlockstep.test/resolver.test.ts), and@third-partytagging on Playwright E2E tests (e2e/).AGENTS.md:## Code Review Rulessection for OpenAI Codex (codex review/codex exec) and referencesREVIEW.mdin the Repository Structure tree.Verification
@tokens outside backticks (except line 1@AGENTS.mdinREVIEW.md).ci.yml) runs on this PR.gpt-6-astra) in a fresh context will be recorded on this PR before merge.Closes #50